<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
    <?php echo $titlename ?>
    </title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>





<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
  <ul class="navbar-nav">
  <li class="nav-item ">
      <a  class="nav-link" href ="index.php?c=Users&a=home"><?php echo ($this->username . "的任务");?> </a>
    </li>
    <li class="nav-item">
      <a  class="nav-link" href ="index.php?c=Tasks&a=all">所有任务</a>
    </li>
    <li class="nav-item">
    <a class="nav-link" href ="index.php?c=Tasks&a=progress">项目进度</a>
    </li>
    <li class="nav-item active">
    <a  class="nav-link" href ="index.php?c=Tasks&a=input">发布任务</a>
    </li>
    <li class="nav-item">
    <a class="nav-link" href ="index.php?c=Users&a=logOut">注销</a>
    </li>
  </ul>
</nav>  


<div class="container" style="margin-top: 30px">
<div class="alert <?php

if ($this->messagecolor === 'success') {
 echo("alert-success");
}else{
  echo("alert-danger");
}
?>">
  <a href ="index.php?c=Users&a=home" class="alert-link"><?php echo($this->message);?></a> 
</div>
</div>

<!-- <a href ="index.php?c=Users&a=home"><?php
//  echo($this->message);
 ?></a><br> -->
</body>
</html>